package org.ims.inv.service.flow.impl;

import org.hibernate.criterion.DetachedCriteria;
import org.ims.inv.dao.flow.DAOFlowForm;
import org.ims.inv.model.flow.form.ModelFlowForm;
import org.ims.inv.service.flow.ServiceFlowForm;

import cn.trymore.core.service.impl.ServiceGenericImpl;

/**
 * Service: 工作流流程单
 * 
 * @author Jeccy.Zhao
 *
 */
public class ServiceFlowFormImpl
extends ServiceGenericImpl<ModelFlowForm> implements ServiceFlowForm
{
	
	/**
	 * Repository of flow form
	 */
	private DAOFlowForm daoFlowForm;
	
	public ServiceFlowFormImpl(DAOFlowForm dao)
	{
		super(dao);
		
		this.daoFlowForm = dao;
	}
	
	/*
	 * (non-Javadoc)
	 * @see cn.trymore.core.service.impl.ServiceGenericImpl#getCriterias(cn.trymore.core.model.ModelBase)
	 */
	@Override
	protected DetachedCriteria getCriterias(ModelFlowForm domain)
	{
		// TODO Auto-generated method stub
		return null;
	}
	
	public void setDaoFlowForm(DAOFlowForm daoFlowForm)
	{
		this.daoFlowForm = daoFlowForm;
	}

	public DAOFlowForm getDaoFlowForm()
	{
		return daoFlowForm;
	}
	
}
